﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EF4.Core.Service
{
    public interface IUnitOfWork
    {
        /// <summary>
        /// Save all changes made within the unit of work
        /// </summary>
        /// <returns>Integer with number of objects affected</returns>
        int SaveChanges();
    }
}
